<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      * {
        padding: 0;
        margin: 0;
      }
      body {
        overflow: hidden;
      }
      img {
        /* border: 1px solid red; */
      }
      #main {
        overflow: hidden;
        width: 100%;
        height: 100%;
      }
      .score-count {
        background: rgba(0, 0, 0, 0.5);
        color: #fff;
        padding: 10px;
      }
      .protecting {
        box-shadow: 0 0 10px 2px #fff;
        opacity: 0.4;
        border-radius: 50%;
        animation: protecting ease-in 0.1s;
      }
      .behit {
        filter: drop-shadow(16px 16px 20px red) invert(100%);
        animation: behit ease-in 0.2s;
      }
      @keyframes behit {
        0% {
          filter: drop-shadow(16px 16px 20px red) invert(100%);
        }
        100% {
          filter: drop-shadow(16px 16px 20px red) invert(0%);
        }
      }
      @keyframes protecting {
        0% {
          background: rgba(214, 18, 18, 0.8);
        }
        100% {
          background: rgba(214, 18, 18, 0);
        }
      }
      .boom {
        position: absolute;
        animation: boom infinite ease-in 0.5s;
        background: rgb(255, 219, 126);
        border: 6px solid rgb(254, 179, 30);
        width: 50px;
        height: 50px;
        border-radius: 50%;
      }
      @keyframes boom {
        0% {
          transform: scale(0.2);
        }
        30% {
          transform: scale(2);
        }
        50% {
          background: rgba(255, 218, 126, 0.905);
          border-color: rgba(254, 179, 30, 0.822);
        }
        100% {
          opacity: 0.5;
          transform: scale(4);
          background: rgba(255, 218, 126, 0);
          border-color: rgba(254, 179, 30, 0);
          border-width: 1px;
        }
      }
    </style>
  </head>

  <body>
    <!-- <div
      id="main"
      style="width: 600px; height: 800px; background: #ccc; position: relative"
    >
      <div
        id="scores"
        style="
          display: flex;
          justify-content: space-between;
          box-sizing: border-box;
          position: absolute;
          left: 0;
          top: 0;
          width: 100%;
          font-weight: 500;
        "
      ></div>
    </div> -->
    <div
      id="scores"
      style="
        display: flex;
        justify-content: space-between;
        box-sizing: border-box;
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        font-weight: 500;
      "
    ></div>
    <canvas id="canvas" style="background: #ccc"></canvas>
  </body>
  <script src="./assets/lib/howler.min.js"></script>
  <script src="./level.js"></script>
  <script src="./index.js"></script>
</html>
